package org.example.netty.test.nio.netty.chat.common;

import java.io.Serializable;

/**
 * @description:  标识 User对象状态的类
 * @author zp
 * @date: 2023/4/8 19:18
 */
public enum UserStatus implements Serializable {
    INIT_STATUS("00","初始化状态（未登入 未注册）"),
    REGISTER_STATUS("01","注册状态"),
    LOGIN_STATUS("02","登入状态");
    private String code;
    private String status;

    UserStatus(String code, String status) {
        this.code = code;
        this.status = status;
    }
}
